package com.qf.boot220302.dao;

import com.qf.boot220302.entity.User;
import org.apache.ibatis.annotations.Param;


public interface UserDao {
    /**
     * 根据用户名查询用户
     * @param username
     * @return
     */
    User getUserByName(@Param("username") String username);

    void insertUser(User user);
}
